// Configuration.cpp: implementation of the CConfiguration class.
//
//////////////////////////////////////////////////////////////////////

#include "stdafx.h"
#include "SFDL3.h"
#include "Configuration.h"

#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE__;
#define new DEBUG_NEW
#endif

IMPLEMENT_SERIAL(CConfiguration, CObject, 2);



void CConfiguration::Serialize( CArchive& ar )
{
	if (ar.IsLoading())
	{
		ar>>m_CharacterKeyStr>>m_TTSModeId>>m_MaxContMinutes
			>>m_MaxDayHours>>m_LatestSleepHour>>m_SleepNotiInterval
			>>m_DeactiveOnMinutes;
	}
	else
	{
		ar<<m_CharacterKeyStr<<m_TTSModeId<<m_MaxContMinutes
			<<m_MaxDayHours<<m_LatestSleepHour<<m_SleepNotiInterval
			<<m_DeactiveOnMinutes;
	}
		
}
